#include <stdio.h>
#include "Ccamera.h"

int main()
{
	sleep(10);
	//system("mount /dev/sda /mnt/upan32g");
	CCameraYUVToJPG *app = new CCameraYUVToJPG(640,480);
	if (true == app->InitCameraDev())
	{
		printf("%s %d MainLoop start\n", __FILE__, __LINE__);
		app->MainLoop();
	}	
	printf("%s %d MainLoop end\n", __FILE__, __LINE__);
	app->CloseDev();

	return 0;
	
}
